package com.example.demo.entity.sqlbean;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author 幻
 * @date 2021-05-18 16:42
 */
public class JWTToken implements AuthenticationToken {
    private String token;

    public JWTToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
